home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1998 May / Macworld (1998-05).dmg / Games World / Shareware Games / Arcade / Supreme Commander / Supreme Commander.mac / 00111_quit button.ls < prev    next >
Encoding:
Text File  |  1996-01-30  |  445 b   |  18 lines

  1. on mouseDown
  2.   if the visible of sprite 48 = 1 then
  3.     exit
  4.   else
  5.     set the foreColor of sprite 47 to 0
  6.     set the foreColor of sprite 48 to 0
  7.     updateStage()
  8.     set the visible of sprite 43 to 1
  9.     set the visible of sprite 44 to 1
  10.     set the visible of sprite 45 to 1
  11.     set the visible of sprite 46 to 1
  12.     set the visible of sprite 47 to 1
  13.     set the visible of sprite 48 to 1
  14.   end if
  15.   when timeOut then NOTHING
  16.   pause()
  17. end
  18.